package pri.zxx.excelgenerate.dataentity.tabledata.growth;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import pri.zxx.excelgenerate.dataentity.tabledata.RangeVo;
import pri.zxx.excelgenerate.excelhanler.CellDesc;

import java.math.BigDecimal;
import java.util.Random;

@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
public class GrowthRangeGrowingFinishing extends RangeVo {


    /**
     * 初始体重（数组匹配）
     */
    @CellDesc(titleName = "开始体重（kg）", order = 1)
    private BigDecimal initialBwDb = new BigDecimal(new Random().nextInt());
    /**
     * 观测初始体重（数组匹配）
     */
    @CellDesc(titleName = "开始体重（kg）", order = 2)
    private BigDecimal initialBwDbOb = new BigDecimal(new Random().nextInt());
    /**
     * 结束体重（数组匹配）
     */
    @CellDesc(titleName = "结束体重（kg）", order = 1)
    private BigDecimal finalBwDb = new BigDecimal(new Random().nextInt());
    /**
     * 观测结束体重（数组匹配）
     */
    @CellDesc(titleName = "结束体重（kg）", order = 2)
    private BigDecimal finalBwDbOb = new BigDecimal(new Random().nextInt());
    /**
     * 饲养周期
     */
    @CellDesc(titleName = "饲养周期（天）")
    private Integer daysfrominitofin = 10;
    /**
     * 观测饲养周期
     */
    @CellDesc(titleName = "饲养周期（天）", order = 2)
    private Integer daysOb = 10;
    /**
     * 平均日粮[能量体系名称]浓度
     */
    @CellDesc(titleName = "平均日粮[能量体系名称]浓度（kcal/kg）", order = 1)
    private BigDecimal avgDietE = new BigDecimal(new Random().nextInt());
    /**
     * 观测平均日粮[能量体系名称]浓度
     */
    @CellDesc(titleName = "平均日粮[能量体系名称]浓度（kcal/kg）", order = 2)
    private BigDecimal avgDietEob = new BigDecimal(new Random().nextInt());
    /**
     * 平均[能量体系名称]摄入量
     */
    @CellDesc(titleName = "平均[能量体系名称]摄入量（kcal/天）", order = 1)
    private BigDecimal avgEintake = new BigDecimal(new Random().nextInt());
    /**
     * 平均[能量体系名称]摄入量
     */
    @CellDesc(titleName = "平均[能量体系名称]摄入量（kcal/天）", order = 2)
    private BigDecimal avgEintakeE;
    /**
     * 平均[能量体系名称]摄入/参考能量摄入比
     */
    @CellDesc(titleName = "平均[能量体系名称]摄入/参考能量摄入比（%）", order = 1)
    private BigDecimal avgintakeOfRefintake = new BigDecimal(new Random().nextInt());

    @CellDesc(titleName = "平均[能量体系名称]摄入/参考能量摄入比（%）", order = 2)
    private BigDecimal avgintakeOfRefintakeE;
    /**
     * 平均采食量
     */
    @CellDesc(titleName = "平均采食量（kg/天）", order = 1)
    private BigDecimal avgFeedintake = new BigDecimal(new Random().nextInt());
    /**
     * 观测平均采食量
     */
    @CellDesc(titleName = "平均采食量（kg/天）", order = 2)
    private BigDecimal avgFeedintakeob = new BigDecimal(new Random().nextInt());
    /**
     * 平均日增重
     */
    @CellDesc(titleName = "平均日增重（g/天）", order = 1)
    private BigDecimal avgAdgDay = new BigDecimal(new Random().nextInt());
    /**
     * 观测平均日增重
     */
    @CellDesc(titleName = "平均日增重（g/天）", order = 2)
    private BigDecimal avgAdgOb = new BigDecimal(new Random().nextInt());
    /**
     * 平均肉料比
     */
    @CellDesc(titleName = "平均肉料比", order = 1)
    private BigDecimal avgGainfeed = new BigDecimal(new Random().nextInt());
    /**
     * 观测平均肉料比
     */
    @CellDesc(titleName = "平均肉料比", order = 2)
    private BigDecimal avggainfeedOb = new BigDecimal(new Random().nextInt());
    /**
     * 平均料肉比
     */
    @Schema(name =  "平均料肉比")
    private BigDecimal feedAvgGain = new BigDecimal(new Random().nextInt());
    /**
     * 观测平均料肉比
     */
    @Schema(name =  "观测平均料肉比")
    private BigDecimal feedAvggainOb = new BigDecimal(new Random().nextInt());


}
